General gradient descent algorithm

Iteratively update the parameters 𝐱\mathbf{x} by making small adjustment that decreases f(𝐱)f(\mathbf{x}).

In particular, update 𝐱𝐱+η𝐯\mathbf{x} \leftarrow \mathbf{x} + \eta\mathbf{v} where η>0\eta > 0 is step size.

Gradient descent method

Iteratively update the current estimate in the direction opposite the gradient direction

𝐱(l+1)=𝐱(l)αJ𝐱|𝐱(l)\mathbf{x}^{(l+1)}=\mathbf{x}^{(l)}-\alpha \frac{\partial J}{\partial \mathbf{x}}\Bigr|_{\substack{\mathbf{x}^{(l)}}}

The solution depends on the initial condition. Reaches the local minimum closest to the initial condition if the stepsize is chosen properly.

Yield global optimal if J is convex, regardless initial solution

Gradient descent analysis

Assume:

Gradient descent:

gradient descent convergence bound


Gradient descent for constrained optimization

DD is the diameter for 𝒦\mathcal{K}, or if unconstrained, then simply an upper bound on ||x0x||||x_0 - x^*||. GG is an upper bund on the size of ff‘s gradient, i.e. ||f(x)||2G,x||\nabla f(x)||_2 \leq G, \forall x.


See: stochastic gradient descent, gradient


References:

  1. https://www.chrismusco.com/amlds2023/notes/lecture06.html#Projected_Gradient_Descent
  2. https://www.chrismusco.com/amlds2023/lectures/lec8_annotated.pdf
  3. https://www.cs.princeton.edu/courses/archive/fall18/cos521/Lectures/lec16.pdf
  4. https://en.wikipedia.org/wiki/Gradient_descent
  5. https://www.stat.cmu.edu/~ryantibs/convexopt-F13/scribes/lec6.pdf
  6. https://scholar.harvard.edu/files/yujietang/files/slides_2019_zero-order_opt_tutorial.pdf
  7. S. P. Boyd and L. Vandenberghe, Convex optimization, Version 29. Cambridge New York Melbourne New Delhi Singapore: Cambridge University Press, 2023. [Online]. Available: https://web.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf